package com.rent.rent_back_end.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author LiDongqing
 * @since 2023-02-06
 * 房源实体类
 */
@TableName("home")
@Data
public class Home {
    /**
     * 房源ID
     */
    @TableId(value = "home_id", type = IdType.AUTO)
    private Integer homeId;

    /**
     * 房价
     */
    @TableField("home_money")
    private Float homeMoney;

    /**
     * 房源地址
     */
    @TableField("home_address")
    private String homeAddress;

    /**
     * 房源名字
     */
    @TableField("home_name")
    private String homeName;
}
